package com.ruoyi.ap.domain;

import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

@EqualsAndHashCode(callSuper = true)
@Data
/*
  村庄对象 ap_village
  @author HuaQP
  @date 2023-09-11
 */
public class Village extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号  */
    @Excel(name = "id")
    private Long  id;

    /** 名称 */
    @Excel(name = "名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    /** 位置x */
    @Excel(name = "位置x")
    private BigDecimal locationX;

    /** 位置y */
    @Excel(name = "位置y")
    private BigDecimal locationY;

    /** 海拔高度 */
    @Excel(name = "海拔高度")
    private BigDecimal altitude;

    /** 简介 */
    @Excel(name = "简介")
    private String introduce;
}
